<template>
  <d2-container>

    <p class="d2-mt-0">
      <el-radio-group v-model="$i18n.locale" size="mini">
        <el-radio-button
          v-for="language in $languages"
          :key="language.value"
          :label="language.value">
          {{ language.label }}
        </el-radio-button>
      </el-radio-group>

    </p>

    <p>{{$t('page.demo.playground.locales.text')}}</p>

    <br>
    <el-date-picker
      size="mini"
      type="date"
      placeholder="选择日期">
    </el-date-picker>
    <el-calendar
      size="mini"
    >
    </el-calendar>

    <el-pagination
      :page-sizes="[50, 100, 200]"
      :page-size="50"
      :page-count="10"
      :total="3000"
      layout="total, sizes, prev, pager, next, jumper"
      :background="true"
      >
    </el-pagination>

  </d2-container>
</template>

<script>

export default {
  data () {
    return {

    }
  },
  mounted () {
  	console.log(this.$t('page.demo.playground.locales.text'));
  },
  methods: {
  }
}
</script>
